package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.SecurityConstants;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.system.api.domain.SysNucleicAcidUser;
import com.ruoyi.system.api.factory.RemoteNucleicAcidUserFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * 用户服务
 * 
 * @author ruoyi
 */
@FeignClient(contextId = "remoteNucleicAcidUserService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteNucleicAcidUserFallbackFactory.class)
public interface RemoteNucleicAcidUserService
{

    /**
     * 新增核酸检测用户CRUD
     */
    @PostMapping("/NucleicAcidUser")
    public AjaxResult add(@RequestBody SysNucleicAcidUser sysNucleicAcidUser, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
}
